<template>
  <div class="wc-form-query">
    <div class="wc-form-query__form-wrap">
      <slot v-bind="$attrs" />
    </div>
    <div v-if="$slots.toolbar" class="wc-form-query__toolbar">
      <slot name="toolbar" v-bind="$attrs" />
    </div>
  </div>
</template>

<script>
export default {
  name: 'FormQuery'
}
</script>

<style lang="scss">
.wc-form-query {
    &__toolbar {
        .el-button {
            border-radius: 20px;
        }
    }
}
</style>
